<table cellspacing="1" cellpadding="4">
    <tr align="center" valign="top">
        <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
            <div class="Block">
            <?php echo $this->renderPartial('add');?>
            <table cellspacing="1" cellpadding="4" class="tab" id="ta">
                <tr class="sub align-center nodrag">
                    <td width="5%"><?php echo CHtml::activeLabel($this->model, 'admin_id');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_name');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_email');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_create_time');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_last_login');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_group_id');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_create_user');?></td>
                    <td width="10%"><?php echo CHtml::activeLabel($this->model, 'admin_status');?></td>
                    <td width="10%"><?php echo Yii::t("app", "记录管理");?></td>
                </tr>
                <?php foreach ($this->model->findAll() as $row): ?>
                    <tbody>
                        <tr class="rows align-center">
                            <td><?php echo $row['admin_id']; ?></td>
                            <td><?php echo $row['admin_name']; ?></td>
                            <td><?php echo $row['admin_email']; ?></td>
                            <td><?php echo Yii::app()->dateFormatter->format("yyyy-MM-dd hh:mm:ss",$row['admin_create_time']); ?></td>
                            <td><?php echo Yii::app()->dateFormatter->format("yyyy-MM-dd hh:mm:ss",$row['admin_last_login']); ?></td>
                            <td><?php echo $this->model->getUserGroupName($row['admin_group_id']); ?></td>
                             <td><?php echo $row['admin_create_user']; ?></td>
                             <td><?php echo $this->model->getUserStatusName($row['admin_status']); ?></td>
                            <td class="align-center"><?php echo ToolsBar::edit($this->createUrl('manager/edit', array('id' => $row['admin_id']))); ?><?php echo ToolsBar::del($this->createUrl('manager/del', array('id' => $row['admin_id']))); ?></td>
                        </tr>
                    </tbody>
                <?php endforeach; ?>
            </table>
            </div>
        </td>
    </tr>
</table>